package cn.melonlib.cores.graphql.comp.utils;

import lombok.Data;

@Data
public class GraphQLParam {

    private String name;

    private String type;

    private Object value;

    private boolean required;

    public GraphQLParam(String name, String type, Object value) {
        this(name,type,value,false);
    }

    public GraphQLParam(String name, String type, Object value, boolean required) {
        this.name = name;
        this.type = type;
        this.value = value;
        this.required = required;
    }
}
